package baiqitun.stupro.common.util;


import baiqitun.stupro.common.model.Result;

/**
 * 数据返回工具类
 * @author kedaji
 */
public class ResultUtil {
    public static Result ok(){
        return null;
    }

    public static <E> Result<E> ok(E e){
        return new Result<>(e);
    }

    public static Result error(){
        return null;
    }

    public static <E> Result<E> error(E e){
        return new Result<>(e);
    }

}
